package com.test.student.dao;

public class CirteriaStudent {
	private String name;
	private String address;
	private String phone;
	public String getName() {
		
		if(name == null){
			name = "%%";
		}else{
			name ="%" + name +"%";
		}
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		if(address == null){
			address = "%%";
		}else{
			address ="%" + address +"%";
		}
		
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		
		if(phone == null){
			phone = "%%";
		}else{
			phone ="%" + phone +"%";
		}
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public CirteriaStudent(String name, String address, String phone) {
		super();
		this.name = name;
		this.address = address;
		this.phone = phone;
	}
	
	
}
